package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * 健康数据
 * Created by Administrator on 2017/10/26.
 */

//post
public class HealthyShowAllJsonBean {

    /**
     * status : true
     * message : 查询成功
     * data : [{"oldmanId":30,"bpressure":{"id":5,"oldmanId":30,"status":"血压正常","createTime":1508390455000,"modifyTime":1508390457000,"sbp":90,"dbp":65,"modifier":10001},"heartrate":{"id":5,"heartRate":58,"oldmanId":30,"status":"理想心率","createTime":1508903331000,"modifyTime":1508903332000,"modifier":10001},"oldman":"吴蔚文","temperature":{"id":5,"name":"吴蔚文","temperature":35,"oldmanId":30,"status":"体温正常","createTime":1508903179000,"modifyTime":1508903179000,"modifier":1}},{"oldmanId":27,"bpressure":{"id":2,"oldmanId":27,"status":"血压正常","createTime":1508390452000,"modifyTime":1508390459000,"sbp":100,"dbp":70,"modifier":10001},"heartrate":{"id":2,"heartRate":56,"oldmanId":27,"status":"理想心率","createTime":1508903329000,"modifyTime":1508903334000,"modifier":10001},"oldman":"沈月生","temperature":{"id":2,"name":"沈月生","temperature":35,"oldmanId":27,"status":"体温正常","createTime":1508903179000,"modifyTime":1508903179000,"modifier":1}},{"oldmanId":29,"bpressure":{"id":4,"oldmanId":29,"status":"血压正常","createTime":1508390455000,"modifyTime":1508390458000,"sbp":230,"dbp":35,"modifier":10001},"heartrate":{"id":4,"heartRate":57,"oldmanId":29,"status":"理想心率","createTime":1508903330000,"modifyTime":1508903335000,"modifier":10001},"oldman":"周莹","temperature":{"id":4,"name":"周莹","temperature":35,"oldmanId":29,"status":"体温正常","createTime":1508903179000,"modifyTime":1508903179000,"modifier":1}},{"oldmanId":26,"bpressure":{"id":6,"oldmanId":26,"status":"血压正常","createTime":1508390456000,"modifyTime":1508390456000,"sbp":100,"dbp":82,"modifier":10001},"heartrate":{"id":1,"heartRate":58,"oldmanId":26,"status":"理想心率","createTime":1508205080000,"modifyTime":1508205080000,"modifier":10001},"oldman":"北斋","temperature":{"id":1,"name":"北斋","temperature":35.6,"oldmanId":26,"status":"体温偏低","createTime":1508147100000,"modifyTime":1508147109000,"modifier":10001}},{"oldmanId":31,"bpressure":{"id":8,"oldmanId":31,"status":"低血压","createTime":1508913715000,"modifyTime":1508913715000,"sbp":88,"dbp":31,"modifier":10001},"heartrate":{"id":6,"heartRate":120,"oldmanId":31,"status":"心动过速","createTime":1508919574000,"modifyTime":1508919574000,"modifier":10001},"oldman":"随雅","temperature":{"id":6,"name":"随雅","temperature":38.1,"oldmanId":31,"status":"中度发热","createTime":1508920204000,"modifyTime":1508920204000,"modifier":10001}}]
     */

    private boolean status;
    private String message;
    private List<HealthyShowAllDataBean> data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<HealthyShowAllDataBean> getData() {
        return data;
    }

    public void setData(List<HealthyShowAllDataBean> data) {
        this.data = data;
    }

    public static class HealthyShowAllDataBean {
        /**
         * oldmanId : 30
         * bpressure : {"id":5,"oldmanId":30,"status":"血压正常","createTime":1508390455000,"modifyTime":1508390457000,"sbp":90,"dbp":65,"modifier":10001}
         * heartrate : {"id":5,"heartRate":58,"oldmanId":30,"status":"理想心率","createTime":1508903331000,"modifyTime":1508903332000,"modifier":10001}
         * oldman : 吴蔚文
         * temperature : {"id":5,"name":"吴蔚文","temperature":35,"oldmanId":30,"status":"体温正常","createTime":1508903179000,"modifyTime":1508903179000,"modifier":1}
         */

        private int oldmanId;
        private BpressureBean bpressure;
        private HeartrateBean heartrate;
        private String oldman;
        private TemperatureBean temperature;

        public int getOldmanId() {
            return oldmanId;
        }

        public void setOldmanId(int oldmanId) {
            this.oldmanId = oldmanId;
        }

        public BpressureBean getBpressure() {
            return bpressure;
        }

        public void setBpressure(BpressureBean bpressure) {
            this.bpressure = bpressure;
        }

        public HeartrateBean getHeartrate() {
            return heartrate;
        }

        public void setHeartrate(HeartrateBean heartrate) {
            this.heartrate = heartrate;
        }

        public String getOldman() {
            return oldman;
        }

        public void setOldman(String oldman) {
            this.oldman = oldman;
        }

        public TemperatureBean getTemperature() {
            return temperature;
        }

        public void setTemperature(TemperatureBean temperature) {
            this.temperature = temperature;
        }

        public static class BpressureBean {
            /**
             * id : 5
             * oldmanId : 30
             * status : 血压正常
             * createTime : 1508390455000
             * modifyTime : 1508390457000
             * sbp : 90
             * dbp : 65
             * modifier : 10001
             */

            private int id;
            private int oldmanId;
            private String status;
            private long createTime;
            private long modifyTime;
            private int sbp;
            private int dbp;
            private int modifier;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getOldmanId() {
                return oldmanId;
            }

            public void setOldmanId(int oldmanId) {
                this.oldmanId = oldmanId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getSbp() {
                return sbp;
            }

            public void setSbp(int sbp) {
                this.sbp = sbp;
            }

            public int getDbp() {
                return dbp;
            }

            public void setDbp(int dbp) {
                this.dbp = dbp;
            }

            public int getModifier() {
                return modifier;
            }

            public void setModifier(int modifier) {
                this.modifier = modifier;
            }
        }

        public static class HeartrateBean {
            /**
             * id : 5
             * heartRate : 58
             * oldmanId : 30
             * status : 理想心率
             * createTime : 1508903331000
             * modifyTime : 1508903332000
             * modifier : 10001
             */

            private int id;
            private int heartRate;
            private int oldmanId;
            private String status;
            private long createTime;
            private long modifyTime;
            private int modifier;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getHeartRate() {
                return heartRate;
            }

            public void setHeartRate(int heartRate) {
                this.heartRate = heartRate;
            }

            public int getOldmanId() {
                return oldmanId;
            }

            public void setOldmanId(int oldmanId) {
                this.oldmanId = oldmanId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getModifier() {
                return modifier;
            }

            public void setModifier(int modifier) {
                this.modifier = modifier;
            }
        }

        public static class TemperatureBean {
            /**
             * id : 5
             * name : 吴蔚文
             * temperature : 35
             * oldmanId : 30
             * status : 体温正常
             * createTime : 1508903179000
             * modifyTime : 1508903179000
             * modifier : 1
             */

            private int id;
            private String name;
            private int temperature;
            private int oldmanId;
            private String status;
            private long createTime;
            private long modifyTime;
            private int modifier;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getTemperature() {
                return temperature;
            }

            public void setTemperature(int temperature) {
                this.temperature = temperature;
            }

            public int getOldmanId() {
                return oldmanId;
            }

            public void setOldmanId(int oldmanId) {
                this.oldmanId = oldmanId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getModifier() {
                return modifier;
            }

            public void setModifier(int modifier) {
                this.modifier = modifier;
            }
        }
    }
}
